package com.diver.flinkdemo.enums;

/**
 * @author yangs
 * 订单付款状态
 **/
public enum PayOrderStatusEnum {

    NO_PAY(2, "待付款"),

    PAYING(3, "付款中"),

    PAYED(4, "已付款"),

    PAY_FAIL(5, "付款失败"),

    REFUNDED(7 ,"已退款/已取消"),

    REFUND(8, "待退款/取消"),

    REFUNDING(9, "退款中"),

    REFUND_FAIL(10, "退款失败");

    PayOrderStatusEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    private int type;
    private String desc;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
